<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;

class UserController extends Controller
{
    public function UserList(Request $request)
    {
        $data = DB::select("select * from user");
        return view('user',compact('data'));
    }
}
